import type { PlanetData } from '../types';

// 八大行星数据配置
export const PLANETS: PlanetData[] = [
  {
    name: 'Mercury',
    nameCn: '水星',
    color: '#8C7853',
    radius: 4,
    orbitRadius: 80,
    orbitPeriod: 88,
    initialAngle: 0,
    realData: {
      diameter: '4,879 km',
      distanceFromSun: '5,790万 km',
      orbitalPeriod: '88 地球日',
      rotationPeriod: '59 地球日'
    }
  },
  {
    name: 'Venus',
    nameCn: '金星',
    color: '#FFC649',
    radius: 6,
    orbitRadius: 110,
    orbitPeriod: 225,
    initialAngle: Math.PI / 4,
    realData: {
      diameter: '12,104 km',
      distanceFromSun: '1.08亿 km',
      orbitalPeriod: '225 地球日',
      rotationPeriod: '243 地球日'
    }
  },
  {
    name: 'Earth',
    nameCn: '地球',
    color: '#6B93D6',
    radius: 7,
    orbitRadius: 140,
    orbitPeriod: 365,
    initialAngle: Math.PI / 2,
    realData: {
      diameter: '12,756 km',
      distanceFromSun: '1.50亿 km',
      orbitalPeriod: '365 地球日',
      rotationPeriod: '24 小时'
    }
  },
  {
    name: 'Mars',
    nameCn: '火星',
    color: '#C1440E',
    radius: 5,
    orbitRadius: 170,
    orbitPeriod: 687,
    initialAngle: Math.PI * 3 / 4,
    realData: {
      diameter: '6,792 km',
      distanceFromSun: '2.28亿 km',
      orbitalPeriod: '687 地球日',
      rotationPeriod: '24.6 小时'
    }
  },
  {
    name: 'Jupiter',
    nameCn: '木星',
    color: '#D8CA9D',
    radius: 20,
    orbitRadius: 220,
    orbitPeriod: 4333,
    initialAngle: Math.PI,
    realData: {
      diameter: '142,984 km',
      distanceFromSun: '7.78亿 km',
      orbitalPeriod: '11.9 地球年',
      rotationPeriod: '9.9 小时'
    }
  },
  {
    name: 'Saturn',
    nameCn: '土星',
    color: '#FAD5A5',
    radius: 18,
    orbitRadius: 260,
    orbitPeriod: 10759,
    initialAngle: Math.PI * 5 / 4,
    realData: {
      diameter: '120,536 km',
      distanceFromSun: '14.3亿 km',
      orbitalPeriod: '29.5 地球年',
      rotationPeriod: '10.7 小时'
    }
  },
  {
    name: 'Uranus',
    nameCn: '天王星',
    color: '#4FD0E3',
    radius: 12,
    orbitRadius: 300,
    orbitPeriod: 30687,
    initialAngle: Math.PI * 3 / 2,
    realData: {
      diameter: '51,118 km',
      distanceFromSun: '28.7亿 km',
      orbitalPeriod: '84 地球年',
      rotationPeriod: '17.2 小时'
    }
  },
  {
    name: 'Neptune',
    nameCn: '海王星',
    color: '#4B70DD',
    radius: 11,
    orbitRadius: 340,
    orbitPeriod: 60190,
    initialAngle: Math.PI * 7 / 4,
    realData: {
      diameter: '49,528 km',
      distanceFromSun: '45.0亿 km',
      orbitalPeriod: '165 地球年',
      rotationPeriod: '16.1 小时'
    }
  }
];

// 太阳数据
export const SUN_DATA = {
  name: 'Sun',
  nameCn: '太阳',
  color: '#FDB813',
  radius: 25,
  realData: {
    diameter: '1,392,700 km',
    mass: '1.989 × 10³⁰ kg',
    temperature: '5,778 K (表面)',
    age: '46亿年'
  }
};